.searchbar-textbox {
  height: 22px;
  width: 6em;
  min-width: 6em;
  border: 0px solid transparent;
}

.textbox-input-box {
  margin: 0;
  -moz-border-radius-topleft: 20px;
  background-image: url("chrome://browser/skin/icons/textbox.png");
}

/* ::::: searchbar-engine-button ::::: */

.searchbar-engine-image {
  height: 16px;
  width: 16px;
  list-style-image: url("chrome://global/skin/icons/folder-item.png");
  -moz-image-region: rect(0px, 16px, 16px, 0px);
  -moz-margin-start: 10px;
  padding: 0;
}

.searchbar-engine-button {
  -moz-appearance: none;
  min-width: 0;
  margin: 0;
  -moz-margin-end: 2px;
  padding: 0;
  min-height: 22px;
  -moz-box-align: center;
  background: #000000;
  border: none;
}

.searchbar-engine-button > .button-box {
  -moz-appearance: none;
  padding: 3px 0;
  border: none;
  -moz-border-radius-topleft: 20px;
  background: #000000 url("chrome://browser/skin/icons/searchbar-leftcap.png") no-repeat left;
}
.searchbar-engine-button:hover > .button-box {
  background: #000000 url("chrome://browser/skin/icons/searchbar-leftcap-hover.png") no-repeat left;
}

.searchbar-engine-button[chromedir="rtl"] > .button-box {
  background: #000000 url("chrome://browser/skin/icons/searchbar-rightcap.png") no-repeat right;
}

.searchbar-engine-button[chromedir="rtl"]:hover > .button-box {
  background: #000000 url("chrome://browser/skin/icons/searchbar-rightcap-hover.png") no-repeat right;
}

.searchbar-engine-button[addengines="true"] > .button-box {
  padding: 3px 0;
}

.searchbar-dropmarker-image {
  list-style-image: url("chrome://global/skin/arrow/arrow-down.png");
  -moz-margin-start: 2px;
  -moz-margin-end: 7px;
}

/* ::::: search-go-button ::::: */

.search-go-container {
  -moz-box-align: center;
  height: 22px;
  -moz-border-radius-topright: 20px;
  background: #000000 url("chrome://browser/skin/icons/searchbar-rightcap.png") no-repeat right;
}
.search-go-container:hover {
  background: #000000 url("chrome://browser/skin/icons/searchbar-rightcap-hover.png") no-repeat right;
}

.search-go-container[chromedir="rtl"] {
  background: #000000 url("chrome://browser/skin/icons/searchbar-leftcap.png") no-repeat left;
}
.search-go-container[chromedir="rtl"]:hover {
  background: #000000 url("chrome://browser/skin/icons/searchbar-leftcap-hover.png") no-repeat left;
}

.search-go-button {
  -moz-padding-end: 3px;
  -moz-padding-start: 8px;
  -moz-margin-end: 5px;
  list-style-image: url("chrome://browser/skin/Search-glass.png");
  -moz-image-region: rect(0px 16px 16px 0px);
}

.search-go-button[chromedir="rtl"] {
  list-style-image: url("chrome://browser/skin/Search-glass-rtl.png");
}

.search-go-button:hover {
  -moz-image-region: rect(0px 32px 16px 16px);
}

.search-go-button:hover:active {
  -moz-image-region: rect(0px, 48px, 16px, 32px);
}

.searchbar-engine-menuitem[selected="true"] > .menu-iconic-text {
  font-weight: bold;
}